import React from 'react';
import { Link } from 'react-router-dom';
export class NavBar extends React.Component
{
    render(){
        return (<nav className="navbar navbar-expand-sm navbar-light fixed-top bg-light" >
        <div className="container">
            <Link className="navbar-brand"  to="/">慕秋 Y4A.FUN</Link>
            <button className="navbar-toggler" type="button" data-toggle="collapse" data-target=".targetMenu">
                <span className="navbar-toggler-icon"></span>
            </button>

            <div className="collapse navbar-collapse targetMenu">
                <ul className="navbar-nav">
                    <li className="nav-item">
                        <Link className="nav-link text-navbar" to="/fstore">FStore-商店</Link>
                    </li>
                    <li className="nav-item">
                        <Link className="nav-link text-navbar" to="/fav">我的收藏</Link>
                    </li>
                    <li className="nav-item">
                        <Link className="nav-link text-navbar" to="/discover">发现</Link>
                    </li>
                </ul>
            </div>
        </div>
      </nav>)
    }
}

